package com.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@Data
@ApiModel("客户联系人数据传输对象")
public class CustomerContactDTO {

    @ApiModelProperty(value = "联系人ID，主键，唯一标识每个联系人")
    private Long id;

    @ApiModelProperty(value = "所属客户公司ID，外键关联到客户公司表", required = true)
    private Long customerCompanyId;

    @ApiModelProperty(value = "联系人姓名，不能为空", required = true)
    private String fullName;

    @ApiModelProperty(value = "职位，可选字段")
    private String position;

    @ApiModelProperty(value = "联系电话，可选字段")
    private String phoneNumber;

    @ApiModelProperty(value = "邮箱地址，可选字段")
    private String email;

    @ApiModelProperty(value = "历史手机号")
    private String historyPhone;

    @ApiModelProperty(value = "是否为主要联系人，默认为否0")
    private Integer isPrimary;

}